"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));

var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));

var _log = _interopRequireDefault(require("log"));

var _fs = _interopRequireDefault(require("fs"));

var Logger =
/*#__PURE__*/
function () {
  function Logger() {
    (0, _classCallCheck2.default)(this, Logger);
  }

  (0, _createClass2.default)(Logger, null, [{
    key: "debug",
    value: function debug() {
      var _Logger$log;

      (_Logger$log = Logger.log).debug.apply(_Logger$log, arguments);
    }
  }, {
    key: "error",
    value: function error() {
      var _Logger$log2;

      (_Logger$log2 = Logger.log).error.apply(_Logger$log2, arguments);
    }
  }, {
    key: "info",
    value: function info() {
      var _Logger$log3;

      (_Logger$log3 = Logger.log).info.apply(_Logger$log3, arguments);
    }
  }]);
  return Logger;
}();

exports.default = Logger;
(0, _defineProperty2.default)(Logger, "log", new _log.default('DEBUG', _fs.default.createWriteStream('LOG.log')));